//
//  ValidationCell.m
//  SameWorld(merchant)
//
//  Created by 李小朋 on 2017/4/2.
//  Copyright © 2017年 杨旭. All rights reserved.
//

#import "ValidationCell.h"
#import "ValidationModel.h"
#import <UIImageView+WebCache.h>

@interface ValidationCell ()

//** 图片*/
@property (weak, nonatomic) IBOutlet UIImageView *pictureImageView;
//** 同城劵号码*/
@property (weak, nonatomic) IBOutlet UILabel *securitiesNumberLabel;
//** 时间*/
@property (weak, nonatomic) IBOutlet UILabel *TimeLabel;

//** 实付金额*/
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;

@end

@implementation ValidationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setCellUpDataWithValidationModel:(ValidationModel *)model {

    // 图片
    [self.pictureImageView sd_setImageWithURL:[NSURL URLWithString:model.QR_code_img]];
    
    // 同城劵号码
    self.securitiesNumberLabel.text = model.key_secret;

    // 二维码使用时间
    self.TimeLabel.text = model.user_sj;
    
    // 实付金额
    self.priceLabel.text = model.actual_je;

}



@end
